﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BaffoHat.Wpf.ViewModel;

namespace BaffoHat.Wpf.Controls
{
    public class MouseFactory
    {
        private static IMouse mouse;

        public static IMouse GetMouse()
        {
            if(KinectSensor.Instance.IsInizialized)
                mouse = new KinectMouse();
            else
                mouse = new TraditionalMouse();

            return mouse;
        }
    }
}
